package com.miyuan.wm.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @ClassName AddCustomerRequestVo
 * @Description 新增客户信息请求参数类
 */
@Data
@ApiModel(value = "新增客户信息请求参数类", description = "新增客户信息请求参数类")
public class AddCustomerRequestVo implements Serializable {

    @NotBlank(message = "客户名称参数不能为空")
    @ApiModelProperty(value = "客户名称", notes = "客户名称")
    private String name;

    @NotBlank(message = "负责人参数不能为空")
    @ApiModelProperty(value = "负责人", notes = "负责人")
    private String personInCharge;

    @NotBlank(message = "联系电话参数不能为空")
    @ApiModelProperty(value = "联系电话", notes = "联系电话")
    private String tel;

    @NotBlank(message = "电子邮件参数不能为空")
    @ApiModelProperty(value = "电子邮件", notes = "电子邮件")
    private String email;

    @ApiModelProperty(value = "客户地址", notes = "客户地址")
    private String address;

}
